﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BusinessEntities.Model
{
    public class Guest
    {
        [Key]
        public int ID { get; set; }
        public string MaleFirstName { get; set; }
        public string FemaleFirstName { get; set; }
        public string LastName { get; set; }
        public string Email { get; set; }

        /// <summary>
        /// Is the guest a couple (husband and wife).
        /// </summary>
        public bool Couple { get; set; }

        //Address
        public int CityID { get; set; }
        public virtual City City { get; set; }
        public string Street { get; set; }
        public int HouseNumber { get; set; }
        public int ApartmentNumber { get; set; }



        public int UserID { get; set; }
        public User User { get; set; }

        //public virtual ICollection<Event> Events { get; set; }

    }
}
